package com.game.service.robot;

import com.game.service.beans.UserInfo;

/**
 * 顶分机器人,具备抽杀修改功能,只开一个
 */
public class No1Robot {
    private UserInfo userInfo;
    private boolean isOpen;//当前服务的总开关

    private int minRatio;//最小可以为0;顶分差额的百分比
    private int maxRatio;//最大200;默认为10~190
    private int runRatio;//60%(范围是0~100),0表示不开启,1表示每局都顶分。
    //抽杀属性,运行时，修改运行结果。开启条件需要设定，例如玩家人数到达多少,两边押注差额大于多少。
    private int killRatio;//20%抽杀机率基础,(0~100)
    private int killRatioFloat;//浮动抽杀比例,每10000分提高1%

    public int getKillRatioFloatWeight() {
        return killRatioFloatWeight;
    }

    public void setKillRatioFloatWeight(int killRatioFloatWeight) {
        this.killRatioFloatWeight = killRatioFloatWeight;
    }

    private int killRatioFloatWeight;//浮动抽水比例的权重


    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public boolean isOpen() {
        return isOpen;
    }

    public void setOpen(boolean open) {
        isOpen = open;
    }

    public int getMinRatio() {
        return minRatio;
    }

    /**
     * 顶分，随机差额的范围最小,范围(0~200)
     */
    public void setMinRatio(int minRatio) {
        this.minRatio = minRatio;
    }

    public int getMaxRatio() {
        return maxRatio;
    }

    /**
     * 顶分，随机差额的范围最大,范围(0~200)
     */
    public void setMaxRatio(int maxRatio) {
        this.maxRatio = maxRatio;
    }

    public int getRunRatio() {
        return runRatio;
    }

    /**
     * 顶分机率,范围(0~100)
     */
    public void setRunRatio(int runRatio) {
        this.runRatio = runRatio;
    }

    public int getKillRatio() {
        return killRatio;
    }

    /**
     * 基础抽杀机率,范围(0~100)
     */
    public void setKillRatio(int killRatio) {
        this.killRatio = killRatio;
    }


    public int getKillRatioFloat() {
        return killRatioFloat;
    }

    /**
     * 浮动抽杀比例,每10000分提高1%,范围(0~10),例如
     */
    public void setKillRatioFloat(int killRatioFloat) {
        this.killRatioFloat = killRatioFloat;
    }
}
